<#include "../head.ftl">
<div class="page_title">客户流失分析</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="document.forms[0].submit();">查询</button>
</div>
<form action="${url}" method="get">
    <table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">
        <tr>
            <th>客户</th>
            <td><input type="text" name="customer.name" value=""/></td>
            <th>客户经理</th>
            <td><input type="text" name="customer.managerUser.name" value=""/></td>
        </tr>
    </table>
    <br />
    <input type="hidden" id="number" name="number" value=""/>
</form>
<table class="data_list_table">
    <tr>
        <th height="28">编号</th>
        <th height="28">年份</th>
        <th height="28">客户</th>
        <th height="28">客户经理</th>
        <th height="28">流失原因</th>
    </tr>
	<#list page.content as runoff>
	    <tr>
            <td class="list_data_number" height="27">${runoff.id}</td>
            <td class="list_data_text" height="27">${runoff.losttime?string("yyyy年")}</td>
            <td class="list_data_text" height="27">${runoff.customer.name}</td>
            <td class="list_data_text" height="27">${runoff.customer.managerUser.name}</td>
            <td class="list_data_ltext" height="27">${runoff.result}</td>
        </tr>
	</#list>
    <tr>
        <th colspan="7" class="pager">
<#include "../foot.ftl">